﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace EvidenceWeb.Models
{

    public class LogOnModel
    { 
        [Required(ErrorMessage = "*警　号不能为空")]
        [Display(Name = "警　号:")]
        public string UserName { get; set; }

        [Required(ErrorMessage = "*密码不能为空")]
        [DataType(DataType.Password)]
        [Display(Name = "密　码:")]
        public string Password { get; set; }
         
    }

}